package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author ghy
 * @version 1.0
 * @date 2022-10-18 16:54
 */
@Configuration
@ComponentScan("com.itheima.service")
@Import({JdbcConfig.class, MybatisConfig.class})
@EnableTransactionManagement
//@EnableTransactionManagement  //开启注解事务
public class SpringConfig {
}
